home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 - Inside Community Club / Acrobat Pro 6 D.bin / installer / Data1.cab / HTML2PDF.api / EXVW / 4507 < prev   
Encoding:
Text File  |  2003-05-15  |  677 b   |  22 lines

  1. gStrFontSelectionDialog    = '$$$/Dialogs/HTML2PDF/TextSettings/FontSelection/DialogTitle';
  2. gStrTextFont            = '$$$/Dialogs/HTML2PDF/TextSettings/FontSelection/TextFont';
  3.  
  4. gFontNamePopupWidth        = max_char_width() * 15;
  5. gSampleWidth            = gFontNamePopupWidth + (max_char_width() * 2);
  6. gSampleHeight            = max_char_width() * 3;
  7.  
  8. dialog( name: gStrFontSelectionDialog, target: 'btfn' )
  9. {
  10.     view( align_children: align_left )
  11.     {
  12.         cluster( name: gStrTextFont )
  13.         {
  14.             view( align_children: align_left )
  15.             {
  16.                 popup( item_id: 'txfn', width: gFontNamePopupWidth );
  17.                 user_item( item_id: 'txsm', width: gSampleWidth, height: gSampleHeight);
  18.             }
  19.         }
  20.         ok_cancel();
  21.     }
  22. }